package easyexcel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author jichao
 * @date 2022/9/1 15:34
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Hospital implements Serializable {

    private String id;

    private String name;

    @ExcelProperty(value = {"code"})
    private String code;

    private String createdBy="SYSTEM";

    private Date createdDate;

    private Date lastModifiedDate;

    private Boolean rxOpen;

}
